<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <script type="text/javascript">
			var path="<%=path%>";
	</script>
    <title>网站主页</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<script type="text/javascript" src="<%=path%>/js/jquery/jquery-1.10.2.min.js"></script>
	<script type="text/javascript" src="<%=path%>/js/extJquery.js"></script>
	<script type="text/javascript" src="<%=path %>/js/adminLogin.js"></script>

  </head>
  
  <body style="text-align: center">
    <h1>欢迎来到BIM网站主页！</h1>
    <br>
    <%if (request.getSession().getAttribute("user")==null) {%>
    <a href="<%=basePath%>user/toLogin.do">登陆</a>
	<a href="<%=basePath%>user/toRegister.do">注册</a>
	<br>
	<br>
	<br>
	<br>
	<br>
	<a href="javascript:login2()">开发测试使用开速登陆入口</a>
	<%}else{ %>
	<h3>您已成功登陆！</h3>
	<h5><a href="<%=basePath%>user/toIndividual.do">个人中心</a></h5>
	<br>
	<h5><a href="<%=basePath%>model/toModelStore.do">模型库</a></h5>
	<br>
	<a href="<%=basePath%>user/logOut.do">注销</a>
	<%} %>
  </body>
</html>
